﻿
namespace Dapper.SimpleDao.Factory
{
    /// <summary>
    /// 字段查询泛型类
    /// </summary>
    /// <typeparam name="T">泛型实体</typeparam>
    public class FieldPredicate<T> where T : class
    {
        /// <summary>
        /// 字段属性
        /// </summary>
        public string PropertyName { get; set; }
        /// <summary>
        /// 连接操作
        /// </summary>
        public Operator Operator { get; set; }
        /// <summary>
        /// 是否
        /// </summary>
        public bool Not { get; set; }
        /// <summary>
        /// 字段值
        /// </summary>
        public object Value { get; set; }
    }
}
